convert json to list object c#

87

c# list object to json -

using System.Text.Json;

var json = JsonSerializer.Serialize(aList);

convert json to list object c# -

var model = JsonConvert.DeserializeObject<List<MatrixModel.RootObject>>(json);

Comments

Submit
0 Comments